package com.hutu.comment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 富文本表
 * @TableName tb_editor_data
 */
@TableName(value ="tb_editor_data")
@Data
public class TbEditorData implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * html渲染数据
     */
    @TableField(value = "html")
    private String html;

    /**
     * 编辑器渲染数据
     */
    @TableField(value = "raw")
    private String raw;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}